<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<html lang="en">
<head>
    <title>Login</title>
</head>
<body>
<form method="post" action="/login">
    <h2>Login</h2>
    账号： <input name="username" type="text" placeholder="admin" autofocus="true"/>
    密码： <input name="password" type="password" placeholder="admin"/>
    <br/>
    <p th:text="${error}"/>
    <button type="submit">登陆</button>
</form>
</body>
</html>